package com.bean;

public class ShopingCar {
	
	private int sc_id;//购物车ID
	private int u_id;//购买人编号
	private int sc_number;//数量
	private String s_name;//商品名字
	private String s_address;//图片
	private int price;//总价价格
	private int g_price;//商品单价
	
	public int getG_price() {
		return g_price;
	}
	public void setG_price(int g_price) {
		this.g_price = g_price;
	}
	public String getS_address() {
		return s_address;
	}
	public void setS_address(String s_address) {
		this.s_address = s_address;
	}
		
	public int getSc_id() {
		return sc_id;
	}
	public void setSc_id(int sc_id) {
		this.sc_id = sc_id;
	}
	public int getU_id() {
		return u_id;
	}
	public void setU_id(int u_id) {
		this.u_id = u_id;
	}
	public int getSc_number() {
		return sc_number;
	}
	public void setSc_number(int sc_number) {
		this.sc_number = sc_number;
		this.price=sc_number*price;
	}
	public String getS_name() {
		return s_name;
	}
	public void setS_name(String s_name) {
		this.s_name = s_name;
	}
	public int getprice() {
		return price;
	}
	public void setprice(int price) {
		this.price = price;
	}
	
	
	

}
